package main

import (
	"kubernate-server/conf"
	"kubernate-server/router"
)

func main() {
	//获取路由信息
	r := router.Routers()
	//加载配置文件555
	conf.Viper()
	//加载k8s连接信息为全局变量
	conf.K8S()
	//启动
	panic(r.Run(conf.CONF.System.Addr))
}
